﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Vcare.Models;
using System.ComponentModel.DataAnnotations;

namespace Vcare.ViewModels
{
  public class ViewModelUserInfo
  {
    public UserInfo UserInfo { get; set; }

    public Users User { get; set; }

    public Authority Authority { get; set; }

    public CallCentres CallCentre { get; set; }

    [Required]
    [Display(Name="User Name")]
    public string UserName { get; set; }

    [Required]
    public string Password { get; set; }

    public bool CallCentreAdministrator { get; set; }

    public bool SystemAdministrator { get; set; }

    [Required]
    public int AuthorityID { get; set; }

    [Required]
    public int CallCentreID { get; set; }
  }
}